<template>
	<view>
		<uni-list>
			<uni-list v-for="item,index in list" :key="index" :border="false">
				<uni-list-chat :title="item.name" :note="item.type" :avatarCircle="true" :avatar="'/static'+item.icon"
					:badge-text="item.number"></uni-list-chat>
			</uni-list>
		</uni-list>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				"list": [{
						"id": 1,
						"name": "妍妍",
						"type": "你好哦",
						"icon": "/logo.png",
						"number": "6"
					},
					{
						"id": 2,
						"name": "瑛瑛",
						"type": "你好",
						"icon": "/news.png",
						"number": "26"
					}
				]
			}
		}
	}
</script>

<style>

</style>